﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using bdxyit.com.RecruitmentAppSys.IDAL;
using bdxyit.com.RecruitmentAppSys.DALFactory;
using bdxyit.com.RecruitmentAppSys.Models;
using bdxyit.com.RecruitmentAppSys.ViewModels;

namespace bdxyit.com.RecruitmentAppSys.BLL
{
    public class ComputerLevelBLL
    {
        private static readonly IComputerLevelDAL ComputerLevelDal = DataAccess.CreateComputerLevel();
        public static List<ComputerLevel> SelectComputerLevel()
        {
            return ComputerLevelDal.SelectComputerLevel();
        }
        public static ComputerLevel SelectComputerLevelByLevelID(string LevelID)
        {
            return ComputerLevelDal.SelectComputerLevelByLevelID(LevelID);
        }
        public static bool DeleteComputerLevelByLevelID(string LevelID)
        {
            return ComputerLevelDal.DeleteComputerLevel(LevelID);
        }
        public static bool InsertComputerLevel(ComputerLevel cmodel)
        {
            return ComputerLevelDal.InsertComputerLevel(cmodel);
        }
        public static bool UpdateComputerLevel(ComputerLevel cmodel)
        {
            return ComputerLevelDal.UpdateComputerLevel(cmodel);
        }

    }
}
